changed API to get calls