finishing the working prototype