Libraries example code added
Added leaky example