Split check to own variable assignment.