Avoid redundant var declaration