sharing resources is hard