retrieval code done. not yet tested. gui wrapper not yet impl.