make shure Optional can be passed into a function