first attempt at infogain approach; incomplete