How to add your own prototype