Different apporach to solve the issue