a green and red mechanical device