changed evaluation method - works now and is also used for debug output