moving and rewriting getTile