missing braces for the if clause. Please avoid goto. Do early return instead.