added extra layes including the dynamic layers