Package record manipulating functions