added getter and stter for the parameters