Note about duplicated code