ADD: pep8 compliance
ADD: handling exception