added addition programming fixes #1

could you add that to the master branch?