Add another solution with hash.