'as' helper