Simple api implementation