Revised as per Real Life Scenario.