Adding attend functionality