add view and delete records