First Commit

smartcast condition