moved func for more top to bottom readability
moved func for more top to bottom readability

steveyen/cbft,couchbaselabs/cbft,nimishzynga/cbgt,nimishzynga/cbgt,nimishzynga/cbgt,nimishzynga/cbgt,steveyen/cbft,couchbaselabs/cbgt,steveyen/cbft,steveyen/cbft,couchbaselabs/cbft,couchbaselabs/cbft,couchbaselabs/cbgt,couchbaselabs/cbgt,steveyen/cbft,couchbaselabs/cbft,couchbaselabs/cbgt