adding autocomplete and delete capabilities