added the second part of the setHiddenSingles() and functions