Added more logic and a previously guessed array.