added prototype doc