changed assign from this to var