src to lib