pulling variables out of libs