added terminal loading