flag getter added