first version of loading indicator