turned my homework into a gem