allow the user to change pps and duration