hash type defaults to none