pseudo code its so late