Return a int instead of a bool.