Add guard to project