Removing exclamation functions and some extra functions
Handled Exceptions as well