moved to using io/console