turn get_hash and get_index into proper bound methods for now!
amend call to get_index