Better solution added
Test step by step