added prepared statement to