added hint button with functionality