change the value of LAYER and arm