adding q1 and hashmaps