initial version of maphancement