added getter functions