Working session Thursday afternoon

fixed all input and output issues