Need to return an int and and error