added else if