Working prototype. Not very reliable but it works.