use the type inferencer for the names as well as the types to print