added find unique and incomplete guessing function