Merge pull request #6 from ThoMo/master

use predefined constant instead of magic number