changed style of prototype mehods instead of override prototype methods