Set up rest of variables and else if conditions.