example of suppressing gui