adding more logging and making logging more verbose