setting up mirror