Final Gamma Delta code