added case trainer and other stuff