buttons ok
API functions to call