when I reference my guider. I use active_flag for type integer to present type boolean, with 0 -> false,  not 0 -> true.