Added loading message and reset fn