Added layername and distribution