ugly looking comparison but a working fine one