Changed Access rights to the variables