use a sum type for tiles