changes to create_mirror