add boolean to opt variables