add default case, if no hash is given