rough working prototype. good enough in an emergency.