got a bit closer now compiling but not linking with hammer