added addtional functionality to tiles, and map