use io/console if possible