add a extra bool value when returning status