Adding function to call history (iss. #14)