getFieldAs instaed of getField for fetching values