initial stab at Mica implementation, live local testing