changed preparedstatement