basic linking works
removed debug output