Change slots to millis