implemented pinfo() and vpinfo()