Move steps to code