removed dependancy on map. fixes #5