added sw_registration and hw_registration flags