Use rational as duration