Add Cody's function to my patches