added expect ast