coments added, error was corrected