I'd prefer not to use goto here. I'd rather set resulttype and break.