adding basic handle exceptions