Changing duration to be a float