added most API calls