the error was an undefined reference on line 18 but I guess I fixed it for now. I tell you if I get this error again. Also, I didn't include the body because I usually test each line of code to make sure they're working properly. I guess adding the body of the function resolved this problem. I guess it's just one of those dumb moments