added prepare statements to model