added API and reviewed some content