Added code with example