use same formatting for hash