trying to setup flags DOESNT WORK