complete the following flow chart - Search