add 'as' for each blocks