change to prototype