modified the interactive class to work with shape3's