Makes visiblity work