final for submitting
istream bugfix