minor exceptions caught and so on