added ioloop calls