refactored w/ JdbcTemplate