added fields in main acctivity