creating layer