added prototype example