`$_up_state` not used - could be used in next line