rework opp_lib. now using the same method as adj_lib. changes stored in new module opp_lib_new