implimented poke logic