updates to Litos's tools