adding a new layer when creating plugin