added arguments to lsm-register