move controller to talePlay.js