added spect to AST