machine list and edit now working, add still needs code