Replaced variable with hash