elements of layer operation