minor updates to input() and open() methods