final version of prototype 1 version 2