Code Updated

Functionalities updated