Removed redundant this and renamed variables.