removed 'foo' on trigger, fixed line lengths, and replaced existence checks with ?