added ball and tile class