removed the fixed arugment order by passing the hash