unpack options optionals