for cs354 record