update to use new expect syntax