DRY up before clause