put the registeration in mid