proper output of mode