make sure api is required first