removed dup variable