fixed syntax error and renamed