- using 'else if' instead of 'elseif' to match style