an common libray for private usage