Changed scanners to bufferedreaders