initial create collection functionality