fixing number comparison, prettifying results