pathing is implmented