Modified to reflect new struct records instead of char* records