added printing function for parma ghost