added type num to Record