hash codes, include? and flatten