now using argparse in datahandler