adding methods to get function action durations.