hardcoded path changed to dynamical - fixed 2