fix collection load issue
adding functionality
add to json func