i fixed a lot of shit

i still can't get the map working without the loop properly.