fixed path to functions