updated code-Madhuri