a simple common lib.