first version of prototype