make use of flags