adding spriter to outer layer when creating it