Implemented int for bool check.