add preparedQuery to initializer