Made the required changes