getting the correct timestamp for each response