bet model and some interface stuff..