trying to turn 2 libs into 1