Corrected typo elsif to elseif