fixing syntax issues in previous commit