Added pseudocode for next stage of dev