Adding in the sanitize int functionality.