working code for aidr-manager collection creation