corrected typos + better structure