need to add pseudo code to methodology