Result just showing in console