[WIP] Optional type

Done:
- returning double or none