speed up collections api