Refactor using prototype