Change id > name
Change value type from char * > double
Remove free(value)