Use rational for duration and position