refactor new prepared statement helpers