change .all() call to a .gql() call