Changed order of functions. Updated benchmark comments