my solution for parsing tiled output