just wondering if i am heading in the right direction.
No. The pinMode() function takes exactly two arguments. Look them up.