rotational logic