new version 1.2, add 'strict' method for a more robust verification