objects can be set visible and invisible