Added BET to the functions.