simplification of the api