changing lapisan to layer