behavior speech api modifications added.