use System.currentTimeMillis to replace new Date().getTime