added various layer functions