adding methods to base for basic API calls