added getter method