arg shold be pins instead of config