linkage method is now passed from command line