Fixing layers, created layer class