medium loop