implemented basic side awareness