adding read_input