got rid of the > 0 condition as we need this when in readChar mode