add wrapper for functions makecform/applycform