removed createQueryBuilder method