Added the Hint functionality