added functionality to create layouts