homework - map stuff