api simplification