path now stores the actual method names, bit more memory intensive but more flexible