added example for layer groups