Apparently duration is supposed to be in ms