trying to expand functionality so we can work with olc database, probably has bugs...