avoid shelling out in a few places