indentation has been done, field type of duration has been changed to integer