classes do BD