removed dup function name an missplaced comment