improve collection creation with CollectionParams struct