added examples of different prototype definition syntax