add operator -> to optional