How to use Encore to form new groups