libmain
