Final Code and Diss