removed unused add_flags testing function