Moved code to funcion
Merge branch 'master' of https://github.com/ajohnsen/bbr