working with descriptor