change if construct