preparation for hide/show data