an common lib, wish to be useful !