refactored code to use relative path