use lowercase attribute names, fix some comments
use uint64_t instead of unsigned long long