use indirection to show loading indicator