Fixed error at the end of line 30; added keyword "auto"