get prototype chain