initial stuff, linking not working properly