re-worked bot logic.