worked on minimap, not sure of how to work functionality