Added Enhanced Prototype code