framework code for adding enhancements
hw6: enhancement 1 & 2 done