On Frobenius algebras