handleAssetsLoading function created

Code to be entered