as i understood it all can (as the code stands now) be given as "-a 0" and "-a 1". In both cases find_number would turn up good, so the conversion here seems ok to me. One might check if itmp > 1 or <0 after conversion