fixed makeCall example, by adding in event listening