more changes for showSource and showHints