added print and hash to new line for convenience.