path magic