removed unused visible flag