adding loading indicator class