Adding jpg Bart's pseudocode