Updated Solution
Fixed