debugged my code from last night, no more errors