class file for bet