use bufio Scanner instead of Stdin Reader