write wrapper to call from api
comment up read_api