add unbox function. fix bug in ex() not checking values for nul. add print function for derived functions.