alternate method 3

no more onConnected