Added libraries and fixed a typo