Working implementation of getInfo