add prepared statement support