any way to hoist the logic into a function or macro?  Might not be worth the effort, but I'd hate for them to get out of sync...