Added step number to know what order to write things.