added engine textbox functionality