implemented adding new record view