why are you flushing System.out instead of out :confused: ... also why are you always re-initializing in and out???