fixing stoopid while loop aka redrumming it