Version 0.6: improved code + several bugfixes
Version 0.7: bugfix