Needed to be able to compare to int