erased duplicated code