removed duplicated line of code