for solving for a certain variable