C2: added 'as' keyword and error msg