Path find buggy but working!