Rename sequence to match the var names in the other methods you changed.