added prototype