added prepared statements wrapper