added a logger for calls