Invalid variable on Line 21-30