passing complete hash