adding duration field