Completion of steps 1, 2 and 4.
Updated comments.