adding the right name of scope variables