deleted incomplete function. added displayinfo function