add status machine and elsa