removed redundant var block