creating wraper class