Editted docsting for main env