factor toglge out for use by auto-start