added duration, volumue and pipe options