removed unnecesssary var declaration