added simple API