implemented minimap, not working properly atm