Implemented layout to work