adding comparing duration methods