optparse working