Function fourWayRrf