added prototype index