first prototype works except for storing video feed