changed post into a layout