added jQ functionality for hw #3