Removed unnecessary code
Using Prototype trait