Not the best loop but idc