added c as unknown dependent variable