new record input panl and logic implemented