Added conversion to objective c