added textbox to engine api