add some features to the prototype