implemented field ids, added date field and implemented view processing