add option if to use collection or not. set use_collection default to false