removed duplicated statements