add kind to barrier