add step by step logging