RIMS gate