simplifying the API