remove fields and add print functionality