added functionality for duration cards