updated based on hw6 recommendation