duration calculation fixed