fixed if-statement issue, made readme more readable