Adding showStep function