working with triple values