or gate behaviroial done