filtering out impossible data and removing old path code
removing log statements