added Elhanan's code to path