Use id instead of date. (it turned out using date wasn't a good idea)