turn around comparison
fix code (was wrong)