added "Loading..." in appropriate functions