change def to void according to latest codearc rules