fixed some stuff in linker. doesn't work properly yet though.