Added new debug output for deviation