Clean code and reworked the "tiles" property