Support flag

TODO: refactoring