Added license comment and fixed a typo