Added loading animations.
remove test function.