added prototype

added prototype