Removed redundant initializations of certain variables