remove redundant loop!