commiting arm close code