macaw csma implementation