avoid useless Date() object creation