BetterWorks backend homework problem