Slight optimization on state method