added getter implementation