adds and searches times by data 'time' attribute