creat buffer and RTvariable for input_pos;
create buffer for context; bind pointer to buffer; assign buffer through pointer; set buffer to variable