pulled model out of methods so that i could pass the same model to all methods