fixing typo in issue #22 and working on API section