development of Interaction Class