SMS dit: Fundamentals of electrochemical deposition