registration and collection creation working