now compiles and links