week 7: dropJ and takeJ implementations