initial commit. False steps and corrections: