added method to create an empty record