implemented basic real time interactions