with statement added to "add" action
pep8