function listing installed packages