Added warding flag mechanic

Signed-off-by: David Silver <dms.silver@gmail.com>