Made history available as option for loop