syntax error solved in project approach