add method and riot