start of guard logic
started path for guards