removed unnecessary snippet of codes.