phew, lots of prepared statement changes

more to come