resort to optparse for now