changed to expect syntax