duplicated code is duplicated