added a identitical function forearlier versions