added prepared statement stuff
added prepared statement stuff