added operators for flags