better prototype example