reversed code back before path variable