finish off prototype method demo