fixing the syntax issues that were in the previous commit