adding core layout