figured out what the error was