45 code analysis

fixes #45