added back flags demo