fixed mistake from rushed coding... now it is actually starting to do what i want