preparing layout, testing buttons