adding psuedo code outlines