Added logging statements for debugging