updated docs to support layouts