Added some branch prediction functions