Added limitations for duration