preparing for refactor of adding layers to group - to fix ticket #144