Add title to steps and get previous_steps