simplified the API