add all flag to class methods, so they can be used externally