added exceptions to the tutorial
fixed little import issue