Removed method calls in condition field of for-loops