change type of options with hash {} intead of any