cast to int, for status code option