added and checking for UE being loaded