2 Layer LMS and CE functions complete