My code for computeBill was less than 20 lines of code, but if yours is longer than you'll either need to "refactor" it to be more efficient or have it call some functions. For example, the code that is computing the bill for code of W could be put in a method called by computeBill and then the bill for the weekly option returned to computeBill.