changed type of variable assignedParkingSpace back to ParkingSpace