redis work!!! and time and history bugs