add default 1 second refresh time, and param to set speed