gets the mapper working