adjust if statement