make layer adding uniform