added visible log for API calls