added simple api