[alpha] can print out records, but has bugs.