change: add functions to make records view able to display records