1/2 semi's and modifications to code