some general lib files