fixed horizon cookbook to pass foodcritic tests