Added interactivity to class