implemented smart bot