collection: added indexes
apollo: use collections