figured out a basic replacement for the pathing thing