added arm code