Might have fixed the undefined refrences problem