test.java using bufferedInputStream
solved atm problem