Made some variables private