Adding Prototype code