removed debugging and added guess count