layers are now working