added prototype and readme