I think all the pseudo-code is in place!