use API methods