linking variable and function file added