Created error handling for addition