Delete extraneous code and attempt to fix visibility