Development of the pseudocode