very basic implementation of API methods