read input from command line (for debugging)