- Added logs for debugging