now 0.40.4. version scheme meets the standard
0.40.0 released
Merge branch 'release0.40' into refactoring