Merge get mirrors function