Library Code Added with base code snippet