:Completed the hint functionality