jgoodie code for practice