finished writing and typeing map pos to track - not tested yet