integer flags are now working