a basic example which will raise exception