refractor Main