changed some syntax errors, still learning rust