setup badgination model