switched to standard input/output