moved function to arm_node