build new collections and do some query