modify prototype chain