Optio implementation added, not tested yet