trying to present automato as object