refactored hashed view controller