code work in homework