improved Console typing