implemented a mirror module