Split if statement