made getInfo a standard function