adds element to prototype