Cleaned up some guard example code