fixed working prototype 2