Altered visible callback slightly