Cleanedup conversion of homework.