found some code lines that were duplicated