Argh, horrible linking error is driving me crazy, will keep going tomorrow