added some pseudocode