Introduced proper 'if' statements.