addition and removal of views functions without error