Added code snippet