added flags on right click