removed IOException in contructors