Gettting the info correctly from hash