changed a lot of details about checking history, this probably fucks everything up