reusing prepared statements, closes #3