Code Updated

Functionality Updated