Adding statement to hash function