constructor for rkarina made public