Create new user defined functions for 'triplet' form.