Example for task3 added