adding environment and new index
adding comment documentation