Set the randomizeRoster parameter of league.create like startingSeason - compute the boolean before, and then you don't need this if/else and the copy+pasted code. Something like `randomizeRoster = req.params.hasOwnProperty("randomizeRoster");`