add visible to contructor to fix test