So Bob then buys a cow and teaches it to use the bathroom in Bill 's yard .