basic exemple for the lib