changed from path to variable