return raw integer, fixes #1