changes to prototype2