needed for char* transfer to Ruby
commented char* transfer