return an int status rather than a string