Fixed zachs code kinda well it compiles now at least.