a bit of infrastructure