Added Exception handling to Add method