Added hint functionality