Draft of functions for working with labels