added Record class