finalizing LFP layer functions