jf: done with lib

dont use this