implements mirror worker (progress #28)