Added some text to 'method' and some pseudocode