pending terminal stuff