found problem, cleaned a few lines up