Added license and fixed typo