worked out tiling - userinput box has a bug sometimes