wrap into a simulator