changed Duration type to String