adding ; after A and D