changed instances of "lif" to "elif"