The duplicated code isn't acceptable.