added get_hash function and author info