change delay to 1 second