Added part about substitution.
might need a little work.